-
-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Pydantic): added parameters in pydantic plugin to support strict validation and all the model_dump
args
#3608
feat(Pydantic): added parameters in pydantic plugin to support strict validation and all the model_dump
args
#3608
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3608 +/- ##
==========================================
+ Coverage 98.25% 98.27% +0.01%
==========================================
Files 328 328
Lines 14870 14885 +15
Branches 2366 2366
==========================================
+ Hits 14611 14628 +17
+ Misses 117 116 -1
+ Partials 142 141 -1 ☔ View full report in Codecov by Sentry. |
0a3bafe
to
b13c0b8
Compare
model_dump
args
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Anu-cool-007!
@kedod can you review this one as well? |
b13c0b8
to
b12d731
Compare
@provinzkraut, is there a specific format for docstrings that I should use? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Anu-cool-007 I went over the docstrings and made some suggestions. Aside from that this is good to go
b12d731
to
181fc7c
Compare
181fc7c
to
7a88082
Compare
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/3608 |
@all-contributors add @Anu-cool-007 for code |
I've put up a pull request to add @Anu-cool-007! 🎉 |
… validation and all the `model_dump` args (#3608) feat: added parameters to pydantic plugin
Combines the following stale PRs:
validate_strict
option to Pydantic plugin to support Pydantic 2's strictmodel_validate
mode #3573Closes #3572 and #3147
Context: #3327 (comment)